﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage/TrangKhach.Master" AutoEventWireup="true" CodeBehind="LayMatKhau.aspx.cs" Inherits="DT5_Anh09110006_Hung09110044_Vu09110157.LayMatKhau" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Quên Mật Khẩu</title>
    <style type="text/css">
        .labelTD
        {
        	font-weight:bold;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table border="0" cellspacing="5px" cellpadding="0" width="580px">
    	<tr>
    		<td class="labelTD">Tên tài khoản:</td>
            <td> <asp:TextBox ID="txtTaiKhoan" runat="server" Width="200px"></asp:TextBox> 
                <asp:Label ID="Label1" runat="Server" Text="(*)" ForeColor="Red"></asp:Label></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtTaiKhoan" ErrorMessage="Tài khoản không được bỏ trống" 
                    Font-Italic="True" ForeColor="Red" ValidationGroup="LayMatKhau"></asp:RequiredFieldValidator>
            </td>
    	</tr>
        <tr>
            <td class="labelTD">Email:</td>
            <td> <asp:TextBox ID="txtEmail" runat="server" Width="200px"></asp:TextBox> 
                <asp:Label ID="Label2" runat="Server" Text="(*)" ForeColor="Red"></asp:Label></td>
            <td>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ErrorMessage="Email ko phù hợp" Font-Italic="True" ForeColor="Red" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ValidationGroup="LayMatKhau" ControlToValidate="txtEmail" 
                    Display="Dynamic"></asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtEmail" Display="Dynamic" 
                    ErrorMessage="Email không được bỏ trống" Font-Italic="True" ForeColor="Red" 
                    ValidationGroup="LayMatKhau"></asp:RequiredFieldValidator>
                <br /></td>
        </tr>
        <tr>
            <td></td>
            <td> 
                <asp:Button ID="bntOK" runat="server" Text="OK" Width="80px" Font-Bold="True" 
                    ForeColor="#FF9900" onclick="bntOK_Click" ValidationGroup="LayMatKhau"/> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="80px" 
                    Font-Bold="True" ForeColor="#FF9900" onclick="btnCancel_Click"/></td>
            <td><br /></td>
        </tr>
        <tr>
            <td> <asp:Label ID="lbl3" runat="server" Font-Italic="True" Font-Underline="True">Lưu ý: (*) là bắt buộc</asp:Label> </td>
        </tr>
    </table>
</asp:Content>
